
$(function(){
		YuXi.InfoQuery.init({	
		url:"getRate.do",
		query:{
			
				currentPage:1
			},					 
		success:function(data){					
				YuXi.Render.InformationSeach(data.list,2,"评价");//调用信息查询的页面渲染模块
			},
			getQueryParm:function(){
						var query={};
						query={
							
							currentPage:1
						}
						YuXi.InfoQuery.queryData=YuXi.ALLSearch.base(query);
					},
				error:function(){},
				/* selector:{
					nextPage:$("#nextPage"),
					prevPage:$("#prevPage"),
					firstPage:$("#headPage"),
					lastPage:$("#endPage"),
					totalPage:$("#totalPage")
					此项为默认项
				}	 */
		});		
		  //跳转到详情界面
  $("#tablebody").parent().on("click", ".detail", function() {
		var id= $(this).attr("data-id");
		var menuId=$("#menu-container").attr("menu-id");
		window.location.href = '../information/subDetailInfo.jsp?menuId='+menuId+'&detailId=' + id;
  })
  $(document).on("click",".update",function(){
	  informationId=$(this).attr("data-id");
	  //$("#evaluate").modal("show");
	  window.location.href = 'evaluateInfo.jsp?updateId=' + informationId+'&menuId=23'; 
  })
  

	})